package com.buddy.syn.method._05;

public class FatherService {
    public int i = 10;
    synchronized public void operateFatherMethod(){
        try {
            i--;
            System.out.println("FatherService print i = "+i);
            Thread.sleep(100);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
